package question;

import java.util.Arrays;

public class AboutArray {

	/**
	 * @param args
	 * void
	 */
	public static void main(String[] args) {
		int [] arr = new int [10];
		int [] arr0 = new int[20];
		arr0 = arr;										//可见数组名跟指针有相似性
		System.out.println(Arrays.toString(arr0));
		int [] arr1 = new int[9];
		System.out.println(Arrays.toString(arr1));		//数组默认被初始化为全0
		int [][] arr2 = new int[3][5];
		System.out.println(arr2.length);				//多维数组长度为第一维的长度
	}

}
